package br.net.woodstock.tickettoride.api.seam.manager.impl;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

import br.net.woodstock.tickettoride.api.core.SimpleQueryableRepository;
import br.net.woodstock.tickettoride.api.core.SimpleRepository;
import br.net.woodstock.tickettoride.api.manager.common.AbstractTicketService;

@Name("ticketService")
@Scope(ScopeType.STATELESS)
public class TicketServiceImpl extends AbstractTicketService {

	private static final long			serialVersionUID	= 1444850019944847612L;

	@In(value = "#{simpleRepository}")
	private SimpleRepository			simpleRepository;

	@In(value = "#{simpleQueryableRepository}")
	private SimpleQueryableRepository	simpleQueryableRepository;

	@Override
	public SimpleRepository getSimpleRepository() {
		return this.simpleRepository;
	}

	@Override
	public SimpleQueryableRepository getSimpleQueryableRepository() {
		return this.simpleQueryableRepository;
	}

}
